<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>片段包含</h1>

<div th:fragment="myfooter">
    &copy; 2021 The Good Thymes Virtual Grocery
</div>

</body>

</html>